//
//  NSNotificationCenter+NSNotificationCenterExtend.h
//  etionMisc
//
//  Created by wu jingxing on 13-2-20.
//  Copyright (c) 2013年 GuangZhouXuanWu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSNotificationCenter (NSNotificationCenterExtend)


+ (void)addObserver:(id)observer dictionarySelector:(NSDictionary*)dicSelector;

+ (void)addObserver:(id)observer dictionarySelector:(NSDictionary*)dicSelector object:(id)object;

+ (NSDictionary*)addMainThreadObserver:(id)observer dictionarySelector:(NSDictionary*)dicSelector;

+ (NSDictionary*)addMainThreadObserver:(id)observer dictionarySelector:(NSDictionary*)dicSelector object:(id)object;



+ (void)removeObserver:(id)observer;

+ (void)removeObserver:(id)observer name:(NSString*)name object:(id)object;

+ (void)removeObserver:(id)observer arrayName:(NSArray*)arName object:(id)object;



+ (void)postNotification:(NSString*)szName object:(id)object;

+ (void)postNotification:(NSString*)szName object:(id)object userInfo:(NSDictionary*)dicUserinfo;

+ (void)postNotification:(NSString*)szName userInfo:(NSDictionary*)dicUserinfo;

+ (void)postNotification:(NSString*)szName;

//废弃
+ (void)postNotification:(NSString*)szName param:(id)param;

+ (void)postNotification:(NSString*)szName object:(id)object param:(id)param;


@end
